Optimal. Leaf size=30 \[ -\frac {b (b+a x)^9}{9 a^2}+\frac {(b+a x)^{10}}{10 a^2} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 30, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.154, Rules used = {269, 45}
\begin {gather*} \frac {(a x+b)^{10}}{10 a^2}-\frac {b (a x+b)^9}{9 a^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 45
Rule 269
Rubi steps
\begin {align*} \int \left (a+\frac {b}{x}\right )^8 x^9 \, dx &=\int x (b+a x)^8 \, dx\\ &=\int \left (-\frac {b (b+a x)^8}{a}+\frac {(b+a x)^9}{a}\right ) \, dx\\ &=-\frac {b (b+a x)^9}{9 a^2}+\frac {(b+a x)^{10}}{10 a^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] Leaf count is larger than twice the leaf count of optimal. \(104\) vs. \(2(30)=60\).
time = 0.00, size = 104, normalized size = 3.47 \begin {gather*} \frac {b^8 x^2}{2}+\frac {8}{3} a b^7 x^3+7 a^2 b^6 x^4+\frac {56}{5} a^3 b^5 x^5+\frac {35}{3} a^4 b^4 x^6+8 a^5 b^3 x^7+\frac {7}{2} a^6 b^2 x^8+\frac {8}{9} a^7 b x^9+\frac {a^8 x^{10}}{10} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(90\) vs.
\(2(26)=52\).
time = 0.02, size = 91, normalized size = 3.03
method | result | size |
gosper | \(\frac {x^{2} \left (9 a^{8} x^{8}+80 a^{7} b \,x^{7}+315 a^{6} b^{2} x^{6}+720 a^{5} b^{3} x^{5}+1050 a^{4} b^{4} x^{4}+1008 a^{3} b^{5} x^{3}+630 a^{2} b^{6} x^{2}+240 a \,b^{7} x +45 b^{8}\right )}{90}\) | \(91\) |
default | \(\frac {1}{10} a^{8} x^{10}+\frac {8}{9} a^{7} b \,x^{9}+\frac {7}{2} a^{6} b^{2} x^{8}+8 a^{5} b^{3} x^{7}+\frac {35}{3} a^{4} b^{4} x^{6}+\frac {56}{5} a^{3} b^{5} x^{5}+7 a^{2} b^{6} x^{4}+\frac {8}{3} a \,b^{7} x^{3}+\frac {1}{2} b^{8} x^{2}\) | \(91\) |
risch | \(\frac {1}{10} a^{8} x^{10}+\frac {8}{9} a^{7} b \,x^{9}+\frac {7}{2} a^{6} b^{2} x^{8}+8 a^{5} b^{3} x^{7}+\frac {35}{3} a^{4} b^{4} x^{6}+\frac {56}{5} a^{3} b^{5} x^{5}+7 a^{2} b^{6} x^{4}+\frac {8}{3} a \,b^{7} x^{3}+\frac {1}{2} b^{8} x^{2}\) | \(91\) |
norman | \(\frac {\frac {1}{10} a^{8} x^{17}+\frac {1}{2} b^{8} x^{9}+\frac {8}{3} a \,b^{7} x^{10}+7 a^{2} b^{6} x^{11}+\frac {56}{5} a^{3} b^{5} x^{12}+\frac {35}{3} a^{4} b^{4} x^{13}+8 a^{5} b^{3} x^{14}+\frac {7}{2} a^{6} b^{2} x^{15}+\frac {8}{9} a^{7} b \,x^{16}}{x^{7}}\) | \(95\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 90 vs.
\(2 (26) = 52\).
time = 0.30, size = 90, normalized size = 3.00 \begin {gather*} \frac {1}{10} \, a^{8} x^{10} + \frac {8}{9} \, a^{7} b x^{9} + \frac {7}{2} \, a^{6} b^{2} x^{8} + 8 \, a^{5} b^{3} x^{7} + \frac {35}{3} \, a^{4} b^{4} x^{6} + \frac {56}{5} \, a^{3} b^{5} x^{5} + 7 \, a^{2} b^{6} x^{4} + \frac {8}{3} \, a b^{7} x^{3} + \frac {1}{2} \, b^{8} x^{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 90 vs.
\(2 (26) = 52\).
time = 0.35, size = 90, normalized size = 3.00 \begin {gather*} \frac {1}{10} \, a^{8} x^{10} + \frac {8}{9} \, a^{7} b x^{9} + \frac {7}{2} \, a^{6} b^{2} x^{8} + 8 \, a^{5} b^{3} x^{7} + \frac {35}{3} \, a^{4} b^{4} x^{6} + \frac {56}{5} \, a^{3} b^{5} x^{5} + 7 \, a^{2} b^{6} x^{4} + \frac {8}{3} \, a b^{7} x^{3} + \frac {1}{2} \, b^{8} x^{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 104 vs.
\(2 (24) = 48\).
time = 0.02, size = 104, normalized size = 3.47 \begin {gather*} \frac {a^{8} x^{10}}{10} + \frac {8 a^{7} b x^{9}}{9} + \frac {7 a^{6} b^{2} x^{8}}{2} + 8 a^{5} b^{3} x^{7} + \frac {35 a^{4} b^{4} x^{6}}{3} + \frac {56 a^{3} b^{5} x^{5}}{5} + 7 a^{2} b^{6} x^{4} + \frac {8 a b^{7} x^{3}}{3} + \frac {b^{8} x^{2}}{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 90 vs.
\(2 (26) = 52\).
time = 1.23, size = 90, normalized size = 3.00 \begin {gather*} \frac {1}{10} \, a^{8} x^{10} + \frac {8}{9} \, a^{7} b x^{9} + \frac {7}{2} \, a^{6} b^{2} x^{8} + 8 \, a^{5} b^{3} x^{7} + \frac {35}{3} \, a^{4} b^{4} x^{6} + \frac {56}{5} \, a^{3} b^{5} x^{5} + 7 \, a^{2} b^{6} x^{4} + \frac {8}{3} \, a b^{7} x^{3} + \frac {1}{2} \, b^{8} x^{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 1.06, size = 90, normalized size = 3.00 \begin {gather*} \frac {a^8\,x^{10}}{10}+\frac {8\,a^7\,b\,x^9}{9}+\frac {7\,a^6\,b^2\,x^8}{2}+8\,a^5\,b^3\,x^7+\frac {35\,a^4\,b^4\,x^6}{3}+\frac {56\,a^3\,b^5\,x^5}{5}+7\,a^2\,b^6\,x^4+\frac {8\,a\,b^7\,x^3}{3}+\frac {b^8\,x^2}{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________